import nodejs from './nodejs';

export default async function send_phone_code(spaceid: string, phoneno: string) {
	return await nodejs(spaceid, 'huyisms', {
		param: {
			phoneno
		}
	}) as {
			code: '1' | '0';
			msg: string;
			phoneno: string;
			content: string;
			smsid: string;
		};
}
